﻿/* -----------------------------------------------------------------------
 * <copyright file="UnitSelChildWin.xaml.cs" company="O-RID">
 *     Copyright (c)2010 O-RID Co.,Ltd.
 * </copyright>
 * <author>Zhang jun</author>
 * <summary> 
 *          UnitSelChildWin
 *          Unit信息查询子窗体
 *          作成日：06/24/2010
 * </summary>
 * -----------------------------------------------------------------------
 */
namespace Orid.Management.Statistics.OperatorUnitMangement.Common.Window
{
    using System.Windows;
    using System.Windows.Controls;
    public partial class UnitSelChildWin : ChildWindow
    {
        public UnitSelChildWin()
        {
            InitializeComponent();

            // 引用主题
            ((App)Application.Current).SetTheme((Grid)LayoutRoot);

            this.UnitWrapping.Width = this.Width - 20;

        }

        private void OKButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = true;
        }

        private void CancelButton_Click(object sender, RoutedEventArgs e)
        {
            this.DialogResult = false;
        }
    }
}

